﻿
<div style="font-size:16px; font-weight:bold; padding:10px;">

</div>

<div style="padding:10px;">

<form method="post" action="#{ActionLink}" class="ajaxPostForm">

    <table class="tblSetting" cellpadding="0" cellspacing="0">
        <tr>
            <td class="lblLeft">:{allowComment}</td>
            <td><label><input name="blogSetting.AllowComment" type="checkbox" #{s.AllowComment} /></label></td>
        </tr>
        <tr style="display:none;">
            <td class="lblLeft">:{allowAnonymousComment}</td>
            <td><label><input name="blogSetting.AllowAnonymousComment" type="checkbox" #{s.AllowAnonymousComment} /></label></td>
        </tr>

        <tr>
            <td class="lblLeft">:{perPageBlogs}</td>
            <td>#{s.PerPageBlogs}</td>
        </tr>
        <tr>
            <td class="lblLeft">:{listMode}</td>
            <td>
                <label><input name="blogSetting.ListMode" type="radio" value="1" #{s.ListModeFull} />:{fullMode}</label>
                <label><input name="blogSetting.ListMode" type="radio" value="0" #{s.ListModeAbstract} />:{abstractMode}</label>                                
            </td>
        </tr>

        <tr>
            <td class="lblLeft">摘要文字字数</td>
            <td>#{blogSetting.ListAbstractLength}</td>
        </tr>


        <tr>
            <td class="lblLeft">:{stickyCount}</td>
            <td>#{s.StickyCount}</td>
        </tr>
        <tr>
            <td class="lblLeft">:{newBlogCount}</td>
            <td>#{s.NewBlogCount}</td>
        </tr>
        <tr>
            <td class="lblLeft">:{newCommentCount}</td>
            <td>#{s.NewCommentCount}</td>
        </tr>
        <tr style="display:none;">
            <td class="lblLeft">:{isShowStats}</td>
            <td><label><input name="blogSetting.IsShowStats" type="checkbox" #{s.IsShowStats} /></label></td>
        </tr>
        <tr>
            <td class="lblLeft">:{rssCount}</td>
            <td>#{s.RssCount}</td>
        </tr>

    </table>
    
    <div style="padding:10px 0px 10px 150px;">
        <input id="Submit1" class="btn" type="submit" value="_{submit}" /></div>

</form>

</div>

<style>
.tblSetting { width:90%;}
.tblSetting td { border-bottom:1px #eee solid; padding:4px 5px;}

.lblLeft { text-align:right;width:150px;}
</style>